package cn.swh.guguanjia.service;

import cn.swh.guguanjia.entity.SysResource;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author: swh
 * @Description:
 * @Date: 2020/10/27 17:33
 * @Version: 1.0
 */
public interface SysResourceService extends BaseService<SysResource, Long> {
    List<SysResource> selectById(long rid);

    List<SysResource> selectByUid(long uid);

    List<SysResource> selectResources();

    PageInfo<SysResource> selectPage(int pageNum, int pageSize, Map<String, Object> map);

}
